/*
 * Server.h
 *
 *  Created on: Jun 1, 2011
 *      Author: madboyka
 */

#ifndef SERVER_H_
#define SERVER_H_
#include "ViewerProtocol.h"
#include <QThread>
#include "NetworkException.h"


class Server : public QThread
{
public:
	Server(ViewerProtocol*);
	virtual ~Server();
	void run();

	ViewerProtocol * protocol;
	int stage;
	int errorCount;
};

#endif /* SERVER_H_ */
